<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>relative博客后台管理</title>
    <link rel="stylesheet" href="/BlogAdmin/layui/css/layui.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">relative-博客后台管理</div>
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="" th:href="@{/home}" target="iframe">前台主页</a></li>
            <li class="layui-nav-item"><a  th:href="@{/admin/adminMsg}" target="iframe">管理员信息</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;">其它系统</a>
                <dl class="layui-nav-child">
                    <dd><a href="#" target="iframe">邮件管理</a></dd>
                    <dd><a href="#" target="iframe">消息管理</a></dd>
                    <dd><a href="#" target="iframe">授权管理</a></dd>
                </dl>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="/LayuiBlog/images/avatar.jpg" class="layui-nav-img">
                    relative
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="admin/html/adminUser.html" target="iframe">基本资料</a></dd>
                    <dd><a href="admin/html/safetySet.html" target="iframe">安全设置</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="" th:href="@{/login}" >退出</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;">系统设置</a>
                    <dl class="layui-nav-child">
                        <dd><a th:href="@{admin/setWeb}" target="iframe">网站设置</a></dd>
                        <dd><a th:href="@{admin/friendlinks}" target="iframe">友情链接</a></dd>
                        <dd><a th:href="@{admin/log}" target="iframe">登入日志</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">用户设置</a>
                    <dl class="layui-nav-child">
                        <dd><a th:href="@{admin/Users}" target="iframe">用户信息</a></dd>
                        <dd><a th:href="@{admin/PwdSet}" target="iframe">修改密码</a></dd>
                        <dd><a th:href="@{admin/welcome}" target="iframe">超链接</a></dd>
                    </dl>
                </li>

                <li class="layui-nav-item">
                    <a class="" href="javascript:;">文章管理</a>
                    <dl class="layui-nav-child">
                        <dd><a th:href="@{admin/blogsAdd}" target="iframe">新增文章</a></dd>
                        <dd><a th:href="@{admin/blogsList}" target="iframe">查看文章</a></dd>
                        <dd><a th:href="@{admin/commentMang}" target="iframe">评论管理</a></dd>
                        <dd><a th:href="@{admin/categoryMang}" target="iframe">分类管理</a></dd>
                        <dd><a th:href="@{admin/resourceMang}" target="iframe">资源管理</a></dd>
                        <dd><a th:href="@{admin/timelineMang}" target="iframe">时间线管理</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">权限控制</a>
                    <dl class="layui-nav-child">
                        <dd><a href="../admin/blogsAdd.html" target="iframe">列表一</a></dd>
                        <dd><a href="#" target="iframe">列表二</a></dd>
                        <dd><a th:href="@{admin/welcome}" target="iframe">超链接</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">系统设置</a>
                    <dl class="layui-nav-child">
                        <dd><a th:href="@{/login}">退出系统</a></dd>
                        <dd><a th:href="@{admin/welcome}" target="iframe">超链接</a></dd>
                    </dl>
                </li>

            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div style="padding: 2px;">
            <iframe name="iframe" width="100%" height="1500px" frameborder="0"
                    class="xiframe" scrolling="no" th:src="@{/home}"></iframe>
        </div>

    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        <span style="margin-left: 500px">
              © 2018 iArchie博客- 底部固定区域
        </span>

    </div>
</div>
<script src="/BlogAdmin/layui/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function () {
        var element = layui.element;

    });
</script>
</body>
</html>